package com.lst.tools.quartz.utils;

import com.lst.tools.basics.utils.DateUtils;

import java.util.Date;

/**
 * @author: Frank
 * @date: 2019/09/24 13:51
 * @version: V1.0
 */
public class CronUtils {

    private static final String CRON_FORMAT = "ss mm HH dd MM ? yyyy";

    public static String getCron(Date date) {
        return DateUtils.format(date, CRON_FORMAT);
    }
}
